<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'bettingCell.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>

    <form action="/newbingo/aaa/BettingCell_createCell.action">
    	<input name="bettingCell.name"/>
    	<input name="bettingCell.gamePlay.name"/>
    	<input type="submit">
    </form>
    
    <form action="/newbingo/aaa/BettingCell_deleteCell.action">
    	<input name="bettingCell.name"/>
    	<input name="bettingCell.gamePlay.name"/>
    	<input type="submit" value="删除">
    </form>
    
    <form action="/newbingo/aaa/BettingCell_updateCell.action">
    	<input name="bettingCell.name"/>
    	<input name="bettingCell.gamePlay.name"/>
    	<input name="bettingCell.rate"/>
    	<input type="submit" value="删除">
    </form>
    
    <form action="/newbingo/aaa/BettingCell_findByPage.action">
    	<input name="start" value="0"><input name="limit" value="10"/><input type="submit">
    </form>
    
    <s:iterator value="pager.data">
    	<s:property value="rate" />&nbsp;&nbsp;&nbsp;<s:property value="name"/><br>
	</s:iterator>
	
	<table>
		<tr>
			<td>投注格</td>
			<td>赔率</td>
			<td>操作</td>
		</tr>
		<s:iterator value="pager.data">
			<tr>
				<td><s:property value="name"/></td>
				<td><s:property value="rate"/></td>
			</tr>
		</s:iterator>
	</table>
    
  </body>
</html>
